Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor PriorityQueue to share logic with default Queue #848

Merged
merged 1 commit into from
May 10, 2024

Conversation

donaldgray
Copy link
Member

Issue being addressed was calls to create priority batch didn't have logic to handle wcDeliveryChannel emulation layer, these had been added to default queue but not priority.

Refactored both CreateBatch and CreatePriorityBatch to use a shared CreateBatchInternal() which takes the type of queue as a parameter. Moved a couple of private helpers, UpdateMembers and ConvertOldDeliveryChannelsForMembers to bottom of file to keep all ActionMethods together.

@donaldgray donaldgray merged commit 8a549cb into main May 10, 2024
9 checks passed
@donaldgray donaldgray deleted the feature/handle_wcdeliverychannel_fix branch May 10, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants